﻿
<html>
<head><title></title>
<script type="text/javascript" >
    function validate(frm) {

        //    checkbox
        var re = false;
        for (var i = 0; i < frm.check2.length; i++) {
            if (frm.check2[i].checked == true) {
                re = true;
                break;
            }
        }
        if (re == false) 
        alert("Ypu have to select atleast one check box");


            //    radio
        var re = false;
        for (var i = 0; i < frm.radiofield2.length; i++) {
            if (frm.radiofield2[i].checked == true) {
                re = true;
                break;
            }
        }
        if (re == false)
            alert("You have to select one radio button");
          
    }
</script>
</head>





<body>

<div class="contenttitle">
    <h2 class="form">
        <span>Email Notification Preferences</span></h2>
</div>
<!--contenttitle-->
<br />
<p>
    Set your communication preferences below to receive only the emails you find most
    helpful. Select from the options below and click Save when you are finished.</p>
<p>
    Email Notification Preferences for info@essenceanalytics.com.au</p>


<form id="form2" class="stdform" method="post" action="" onsubmit="return validate(this)">
<p>
    Get the latest information regarding products, new features and enhancements. Learn
    how to use EssenceAnalytics to the fullest</p>
<input type="checkbox" name="check2" />
Subscribe to EssenceAnalytics newsletter
<br />
<input type="checkbox" name="check2" />
Subscribe to EssenceAnalytics Product Information
<p>
    To get your EssenceAnalytics about your website feedback activities.</p>
<input type="radio" name="radiofield2" />
On a daily basis (sent each morning)<br />
<input type="radio" name="radiofield2" />
On a weekly basis (sent each Monday)
<br />
<input type="radio" name="radiofield2" />
On a monthly basis (Sent first day of each month)
<p>
    <button class="submit radius2" >
        Save</button>
    <input type="reset" class="reset radius2" value="Cancel" />
</p>
</form>
<br clear="all" />

</body>
</html>
